Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refine ep plugin c++ wrapper #23131

Merged
merged 1 commit into from
Dec 17, 2024
Merged

refine ep plugin c++ wrapper #23131

merged 1 commit into from
Dec 17, 2024

Conversation

guyang3532
Copy link
Contributor

No description provided.

@guyang3532 guyang3532 merged commit dc6674b into leca/outOfTreeEP Dec 17, 2024
11 of 16 checks passed
@guyang3532 guyang3532 deleted the yangu/outoftreeEP branch December 17, 2024 08:11
delete graph_viewer;
}
return nullptr;
}

ORT_API_STATUS_IMPL(OrtGraphApis::OrtGraph_ReleaseGraphViewerArray, const OrtGraphViewer** graph_viewers, size_t num_graphs) {
for (size_t i = 0; i < num_graphs; i++) {
OrtGraph_ReleaseGraphViewer(graph_viewers[i], false);

Check warning

Code scanning / PREfast

Return value ignored: 'OrtGraphApis::OrtGraph_ReleaseGraphViewer'. Warning

Return value ignored: 'OrtGraphApis::OrtGraph_ReleaseGraphViewer'.
for (size_t i = 0; i < num_graphs; i++) {
OrtGraph_ReleaseGraphViewer(graph_viewers[i], false);
}
delete[] graph_viewers;

Check warning

Code scanning / PREfast

Avoid calling new and delete explicitly, use std::make_unique instead (r.11). Warning

Avoid calling new and delete explicitly, use std::make_unique instead (r.11).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant